ImageGear .NET v25.2 - Updated
ImageGear.Windows.Controls Assembly / ImageGear.Core Namespace / ImGearReadOnlyDictionary<TKey,TValue> Class / ContainsKey Method
The key to locate in the dictionary.




In This Topic
    ContainsKey Method
    In This Topic
    Determines whether the dictionary contains the specified key.
    Syntax
    'Declaration
     
    Public Function ContainsKey( _
       ByVal key As TKey _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearReadOnlyDictionary(Of TKey,TValue)
    Dim key As TKey
    Dim value As Boolean
     
    value = instance.ContainsKey(key)
    public bool ContainsKey( 
       TKey key
    )
    public: bool ContainsKey( 
       TKey* key
    ) 
    public:
    bool ContainsKey( 
       TKey^ key
    ) 

    Parameters

    key
    The key to locate in the dictionary.

    Return Value

    true if the dictionary contains an element with the specified key; otherwise, false.
    See Also